//
//  SearchShopListController.h
//  takeout
//
//  Created by Mac on 12-5-15.
//  Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "BaseViewController.h"
#import "SupplierManager.h"
#import "RefreshView.h"
#import <MessageUI/MessageUI.h>
#import <QuartzCore/QuartzCore.h>
#import "AppDelegate.h"
#import "FMDBSupplierManager.h"

@interface SearchShopListController : BaseViewController <RefreshViewDelegate,UITableViewDelegate,UITableViewDataSource>{
    SupplierManager *manager;
    NSArray *suppliers;
    int currentPage;
    RefreshView *refreshView;
    UITableView *tableViews;  //显示商家表
    AppDelegate *appDelegate;
    FMDBSupplierManager *fmdbSupplierManager;
    BOOL isEnd;
}
@property (retain, nonatomic) NSString *conditions;      //搜索条件
@property (retain, nonatomic) NSString *searchType;      //搜索类型：0：直接搜索  1：条件搜索
@property NSInteger supplierCategoryTag;      //店铺类型tag
@property (retain, nonatomic) NSString *address; 
@property (retain, nonatomic) NSString *isSelling; 
- (void) initMembers;

@end
